package com.benshou.bsoa.dto.renshi.req;

import jakarta.validation.Valid;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.util.List;


/*
 *  员工信息请求参数
 */
@Data
public class EmployeeDataRequest {
    // 请求参数
    private String apiCode;

    private Params params;

    public EmployeeDataRequest(String method, String apiCpde, List<String> uuidList) {
        this.params = new Params(method, apiCpde, uuidList);
    }

    public EmployeeDataRequest() {
        // 默认构造函数
    }

    @Data
    public static class Params {
        private String method;
        private String apiCpde;
        @Valid
        private List<String> uuidList;

        public Params(String method, String apiCpde, List<String> uuidList) {
            this.method = method;
            this.apiCpde = apiCpde;
            this.uuidList = uuidList;
        }
    }
}